package aci;

//抽象类与接口理解
public class AbstractClassInterface {

	public static void main(String[] args) {

		//创建IPhone手机
		Phone iphone = new IPhone("xiao-li");
		iphone.run();
		System.out.println(iphone.read());

		//创建Android手机
		Phone android = new Android("xiao-wang");
		android.run();
		System.out.println(android.read());
	}
}